package cn.cdm.redis;

public class GoodsKey extends BasePrefix {

    public static final int TOKEN_EXPIRE = 60 * 5;
    private GoodsKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }
    public static GoodsKey goodList = new GoodsKey(TOKEN_EXPIRE, "goodList");
    public static GoodsKey goodDetail = new GoodsKey(TOKEN_EXPIRE, "goodDetail:");
    public static GoodsKey goodStock = new GoodsKey(0, "goodStock:");
    public static GoodsKey orderInfo = new GoodsKey(0, "orderInfo:");

}
